class StrUtils {
  static bool equals(String s1, String s2) {
    if (s1.length != s2.length) {
      return false;
    }
    final minCount = s1.length;
    for (var i = 0; i < minCount; i++) {
      if (s1[i] != s2[i]) {
        return false;
      }
    }
    return true;
  }

  static bool isBlank(String s) {
    if (null == s) {
      return true;
    }
    if (s.length == 0) {
      return true;
    }
    return false;
  }

  static bool isNotBlank(String s) {
    return !isBlank(s);
  }
}
